package com.cs.contract.service.impl;


import com.cs.contract.service.CsFramePlanService;
import com.cs.contract.domain.CsFramePlan;
import com.cs.contract.mapper.CsFramePlanMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：zrx
 * @Package：com.cs.service.impl
 * @Project：RuoYi-Cloud
 * @name：CsFramePlanServiceImpl
 * @Date：2024/11/28 9:06
 * @Filename：CsFramePlanServiceImpl
 */
@Service
public class CsFramePlanServiceImpl implements CsFramePlanService {
    private final CsFramePlanMapper csFramePlanMapper;

    public CsFramePlanServiceImpl(CsFramePlanMapper csFramePlanMapper) {
        this.csFramePlanMapper = csFramePlanMapper;
    }

    @Override
    public List<CsFramePlan> listCsFramePlan(CsFramePlan csFramePlan) {
        return csFramePlanMapper.listCsFramePlan(csFramePlan);
    }

    @Override
    public Integer updateOidByPlanId(CsFramePlan csFramePlan) {
        return csFramePlanMapper.updateOidByPlanId(csFramePlan);
    }
}
